package org.lc.stk.web.dto.cengci;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

@Schema(description = "创建培养层次请求")
public class CreateCengciRequest {
    
    @Schema(description = "培养层次编码", example = "BK")
    @NotBlank(message = "培养层次编码不能为空")
    @Size(max = 50, message = "培养层次编码不能超过50个字符")
    private String code;
    
    @Schema(description = "培养层次名称", example = "本科")
    @NotBlank(message = "培养层次名称不能为空")
    @Size(max = 100, message = "培养层次名称不能超过100个字符")
    private String name;
    
    @Schema(description = "排序号", example = "1")
    private Integer orderNum = 0;
    
    @Schema(description = "备注", example = "普通本科教育")
    @Size(max = 500, message = "备注不能超过500个字符")
    private String remark;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}